VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Processing Namespace / ProcessingHelper Class / CreateConditionalCommand Methods / CreateConditionalCommand<TTarget>(String,PredicateAnalyzer<TTarget>,ProcessingCommand<TTarget>) Method
Syntax Requirements SeeAlso
    CreateConditionalCommand<TTarget>(String,PredicateAnalyzer<TTarget>,ProcessingCommand<TTarget>) Method (ProcessingHelper)
    Creates the conditional command (IF operator).
    Syntax
    'Declaration
    
    Public Overloads Shared Function CreateConditionalCommand<TTarget
    The type of the target.
    >( _
    ByVal name
    The name on conditional command,
    As System.String, _
    ByVal condition
    The condition.
    As Vintasoft.Imaging.Processing.Analyzers.PredicateAnalyzer(Of TTarget), _
    ByVal ifBranch
    The "if" branch.
    As ProcessingCommand(Of TTarget) _
    ) As ConditionalCommand(Of TTarget) (Of TTarget
    The type of the target.
    )
     

    Parameters

    name
    The name on conditional command,
    condition
    The condition.
    ifBranch
    The "if" branch.

    Type Parameters

    TTarget
    The type of the target.

    Return Value

    New instance of ConditionalCommand<TTarget> class.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also